import Vue from 'vue'
import App from './App'
import router from './router'

/**导入UI**/
import ElementUi from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUi);

/**导入图标**/
import 'font-awesome/css/font-awesome.css'

/**导入axios**/
import http from './libs/http'
Vue.prototype.$http = http;

//临时用
import axios from 'axios'
Vue.prototype.axios = axios;
import baseApi from '../static/url'
Vue.prototype.baseApi = baseApi

/**引入vuex**/
import Vuex from 'vuex'
import store from './store/store.js'
Vue.use(Vuex);

Vue.config.productionTip = false;

new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
